/*
 * > /*
>  * INSANE - Interactive Structural Analysis Environment
>  *
>  * Copyright (C) 2003-2004
>  * Universidade Federal de Minas Gerais
>  * Escola de Engenharia
>  * Departamento de Engenharia de Estruturas
>  *
>  * Author's email :     insane@dees.ufmg.br
>  * Author's Website :   http://www.dees.ufmg.br/insane
>  *
>  * This program is free software; you can redistribute it and/or
>  * modify it under the terms of the GNU General Public License
>  * as published by the Free Software Foundation; either version 2
>  * of the License, or any later version.
>  *
>  * This program is distributed in the hope that it will be useful,
>  * but WITHOUT ANY WARRANTY; without even the implied warranty of
>  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>  * GNU General Public License for more details.
>  *
>  * You should have received a copy of the GNU General Public License
>  * along with this program; if not, write to the Free Software
>  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-
> 1307, USA.
 *
 */
/*
 * Created on 12/08/2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package br.ufmg.dees.insane.xyplot.xyplot_view;

import java.awt.Color;
import java.awt.Font;
import java.io.Serializable;

/**
 * @author  Samuel Silva Penna  TODO To change the template for this generated type comment go to  Window - Preferences - Java - Code Style - Code Templates
 */
public class CaptionState implements Serializable{
	
	/**
	 * Comment for <code>serialVersionUID</code>
	 */
	private static final long serialVersionUID = 1L;
	
	private boolean isCaptionOn = true;
	
	private String  title = "Legenda:";
	private Color 	titleColor = Color.RED;
	private boolean isTitleOn = true;
	private int 	titleSize = 15;
	private String 	titleFont = "Arial";
	private byte 	titleStyle = Font.PLAIN;
	
	private double  xPosition = 0.0;
	private double  yPosition = 0.0;
	
	
	public CaptionState(){
		
	}
	
	/**
	 * @return  Returns the isTitleOn.
	 * @uml.property  name="isTitleOn"
	 */
	public boolean isTitleOn() {
		return isTitleOn;
	}
	/**
	 * @param isTitleOn  The isTitleOn to set.
	 * @uml.property  name="isTitleOn"
	 */
	public void setTitleOn(boolean isTitleOn) {
		this.isTitleOn = isTitleOn;
	}
	/**
	 * @return  Returns the titleColor.
	 * @uml.property  name="titleColor"
	 */
	public Color getTitleColor() {
		return titleColor;
	}
	/**
	 * @param titleColor  The titleColor to set.
	 * @uml.property  name="titleColor"
	 */
	public void setTitleColor(Color titleColor) {
		this.titleColor = titleColor;
	}
	/**
	 * @return  Returns the titleFont.
	 * @uml.property  name="titleFont"
	 */
	public String getTitleFont() {
		return titleFont;
	}
	/**
	 * @param titleFont  The titleFont to set.
	 * @uml.property  name="titleFont"
	 */
	public void setTitleFont(String titleFont) {
		this.titleFont = titleFont;
	}
	/**
	 * @return  Returns the titleSize.
	 * @uml.property  name="titleSize"
	 */
	public int getTitleSize() {
		return titleSize;
	}
	/**
	 * @param titleSize  The titleSize to set.
	 * @uml.property  name="titleSize"
	 */
	public void setTitleSize(int titleSize) {
		this.titleSize = titleSize;
	}
	/**
	 * @return  Returns the titleStyle.
	 * @uml.property  name="titleStyle"
	 */
	public byte getTitleStyle() {
		return titleStyle;
	}
	/**
	 * @param titleStyle  The titleStyle to set.
	 * @uml.property  name="titleStyle"
	 */
	public void setTitleStyle(byte titleStyle) {
		this.titleStyle = titleStyle;
	}
	/**
	 * @return  Returns the xPosition.
	 * @uml.property  name="xPosition"
	 */
	public double getXPosition() {
		return xPosition;
	}
	/**
	 * @param position  The xPosition to set.
	 * @uml.property  name="xPosition"
	 */
	public void setXPosition(double position) {
		xPosition = position;
	}
	/**
	 * @return  Returns the yPosition.
	 * @uml.property  name="yPosition"
	 */
	public double getYPosition() {
		return yPosition;
	}
	/**
	 * @param position  The yPosition to set.
	 * @uml.property  name="yPosition"
	 */
	public void setYPosition(double position) {
		yPosition = position;
	}
	/**
	 * @return  Returns the isCaptionOn.
	 * @uml.property  name="isCaptionOn"
	 */
	public boolean isCaptionOn() {
		return isCaptionOn;
	}
	/**
	 * @param isCaptionOn  The isCaptionOn to set.
	 * @uml.property  name="isCaptionOn"
	 */
	public void setCaptionOn(boolean isCaptionOn) {
		this.isCaptionOn = isCaptionOn;
	}
	/**
	 * @return  Returns the tiltle.
	 * @uml.property  name="title"
	 */
	public String getTitle() {
		return title;
	}
	/**
	 * @param tiltle  The tiltle to set.
	 * @uml.property  name="title"
	 */
	public void setTitle(String title) {
		this.title = title;
	}
}
